package com.google.code.p.restrpc.directory;

/**
 * @author dz
 */
public interface Directory {
    
    /**
     * @param serviceName
     * @param lastModifiedMillis
     * @return
     */
    public RemoteServiceDefinitionPack lookup(String serviceName,
                                              long lastModifiedMillis);
    
    /**
     * @param serviceName
     * @param methodName
     * @param lastModifiedMillis
     * @return
     */
    public RemoteServiceDefinitionPack lookup(String serviceName,
                                              String methodName,
                                              long lastModifiedMillis);
    
}
